package com.firefightingiot.firefightingiot.web.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.firefightingiot.firefightingiot.model.UltrasonicDevice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: YangYu
 * @ClassName: UltrasonicDeviceMapper
 * @Date: Created in 16:30 2022/10/8
 * @Description: 超声波分组设备
 */
@Mapper
public interface UltrasonicDeviceMapper extends BaseMapper<UltrasonicDevice> {

    IPage<UltrasonicDevice> ultrasonicDeviceListPage(IPage page, @Param("param") JSONObject jsonParam);

    UltrasonicDevice getUltrasonicDevice(String number);
}
